phpseclib3\Crypt\Common\SymmetricKey D

Total Complexity 344
Dependencies 17
Dependents 1
Total lines 3,215
Lines of code 1,635
Logical lines of code 943
Comment lines 1,243
Methods 46
Properties 39

Methods 46

Method Rating Maintainability Complexity Lines of code
decrypt()
D
14
68 299
encrypt()
D
15
64 299
createInlineCryptFunction()
C
21
10 382
setPassword()
C
34 24 84
setup()
B
38 21 62
openssl_ctr_process()
B
40 16 64
__construct()
A
48 12 33
isValidEngineHelper()
A
49 12 32
setEngine()
A
48 8 37
openssl_ofb_process()
A
49 7 32
openssl_translate_mode()
A
59 8 17
setTag()
S
59 8 13
pkcs12helper()
S
48 6 33
getTag()
S
58 7 14
setIV()
S
57 5 16
setPoly1305Key()
S
59 5 13
setupGCM()
S
56 4 18
safe_intval_inline()
S
61 4 11
unpad()
S
62 4 10
pad()
S
60 3 12
isValidEngine()
S
62 3 12
poly1305()
S
54 2 20
enableContinuousBuffer()
S
64 3 10
disableContinuousBuffer()
S
65 3 10
setKeyLength()
S
67 3 7
setPreferredEngine()
S
63 3 10
ghash()
S
58 2 15
safe_intval()
S
63 3 9
setKey()
S
65 3 8
setAAD()
S
69 3 6
getIV()
S
77 2 3
usesIV()
S
79 2 3
enablePoly1305()
S
70 2 6
setNonce()
S
68 2 7
nullPad128()
S
73 1 4
len64()
S
77 1 3
setupKey()
S
100 1 0
usesNonce()
S
80 1 3
getKeyLength()
S
80 1 3
decryptBlock()
S
100 1 0
encryptBlock()
S
100 1 0
getBlockLength()
S
80 1 3
getEngine()
S
80 1 3
getBlockLengthInBytes()
S
82 1 3
disablePadding()
S
81 1 3
enablePadding()
S
81 1 3